package com.example.dahua.singleton;

/**
 * @author: dangwen
 * @createDate: 2021/7/3
 * 静态内部类
 */
public class Singleton05 {
    private Singleton05(){}
    private static class Sington05Instance{
        private static final Singleton05 sing = new Singleton05();
    }
    public static Singleton05 singleton05(){
        return Sington05Instance.sing;
    }
}
